﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace test.demo.Model.PRO生产管理
{
    /// <summary>
    /// 生产工单表
    /// </summary>
    public class Pro_Workorder:Entity<int>
    {

        public string? WorkorderCode { get; set; } //工单编号
        public string? WorkorderName { get; set; } //工单名称
        public string? OrderSource { get; set; } //工单来源
        public string? WorkorderType { get; set; } //工单类型
        public string? SourceCode { get; set; } //来源单据号
        public int ProductId { get; set; } //产品ID
        public string? ProduceCode { get; set; } //产品编码
        public string? ProduceName { get; set; } //产品名称
        public string? UnifofMeasure { get; set; } //单位
        public double Quantity { get; set; } //工单数量
        public double QuantityProduced { get; set; } //已生产数量
        public double QuantityChanged { get; set; } //调整数量
        public double QuabntitySchesuled { get; set; } //已排产数量
        public int ClientId { get; set; } //客户ID
        public string? ClientCode { get; set; } //客户编码
        public string? ClientName { get; set; } //客户名称
        public int VendorId { get; set; } //供应商ID
        public string? VendorCode { get; set; } //供应商编码
        public string? VendorName { get; set; } //供应商名称
        public string? BatchCode { get; set; } //批次号
        public DateTime? RequestDate { get; set; } //需求日期
        public  int PequestId { get; set; } //关联工单
        public string? Ancestors { get; set; } //所有父节点ID
        public DateTime? FinishDate { get; set; } //完成时间
        public string? Status { get; set; } //单据状态
        public string? Remark { get; set; } //备注
        public string? Create_By { get; set; } //创建人
        public DateTime? Creste_Time { get; set; } //创建人
        public string? Updateby { get; set; } //创建人
        public DateTime? UpDateTime { get; set; } //创建人
 
    }
    
}
